export PATH="$PATH:/home/debi/go/bin"
goOutPath=../rpc
goctl rpc protoc limit.proto --style go_zero  --go_out=$goOutPath --go-grpc_out=$goOutPath --zrpc_out=../rpc
#protoc  -I=. \
#    --go_out $goOutPath --go_opt paths=source_relative \
#    --go-grpc_out $goOutPath --go-grpc_opt paths=source_relative \
#    --grpc-gateway_out $goOutPath  --grpc-gateway_opt paths=source_relative \
#    --grpc-gateway_opt logtostderr=true \
#    order.proto
protoc-go-inject-tag -input $goOutPath/limitx/"*.pb.go"

#--swagger_out logtostderr=true:$goOutPath \